package com.qf.business.user.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qf.business.user.mapper.ScoreDetailsMapper;
import com.qf.business.user.service.ScoreDetailsService;
import com.qf.data.user.entity.ScoreDetails;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * (ScoreDetails)表服务实现类
 *
 * @author makejava
 * @since 2022-07-20 10:46:28
 */
@Service
public class ScoreDetailsServiceImpl extends ServiceImpl<ScoreDetailsMapper, ScoreDetails> implements ScoreDetailsService {

    @Autowired
    private ScoreDetailsMapper scoreDetailsMapper;

    /**
     * 根据积分流水id， 填充业务id号
     * @param sdId
     * @param busId
     * @return
     */
    @Override
    public int updateBusId(Long sdId, Long busId) {
        return scoreDetailsMapper.updateBusId(sdId, busId);
    }
}


